package com.ruoyi.project.hcy.notice.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Notices {
    private Integer noticeId;        //公告id
    private String  noticeName;      //公告主题
    private String  noticeContent;   //内容
    private Long    userId;          //发布者id



    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date noticeStarttime; //生效时间

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date noticeEndtime;   //失效时间


    public Integer getNoticeId() {
        return noticeId;
    }

    public void setNoticeId(Integer noticeId) {
        this.noticeId = noticeId;
    }

    public String getNoticeName() {
        return noticeName;
    }

    public void setNoticeName(String noticeName) {
        this.noticeName = noticeName;
    }

    public String getNoticeContent() {
        return noticeContent;
    }

    public void setNoticeContent(String noticeContent) {
        this.noticeContent = noticeContent;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Date getNoticeStarttime() {
        return noticeStarttime;
    }

    public void setNoticeStarttime(Date noticeStarttime) {
        this.noticeStarttime = noticeStarttime;
    }

    public Date getNoticeEndtime() {
        return noticeEndtime;
    }

    public void setNoticeEndtime(Date noticeEndtime) {
        this.noticeEndtime = noticeEndtime;
    }
}
